<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QUẢN LÝ THÔNG TIN LIÊN HỆ</title>
</head>

<body>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
  <tr align="center">
    <td width="20%">Họ và tên</td>
    <td width="20%">Địa chỉ Email</td>
    <td width="50%">Tiêu đề thư</td>
    <td width="5%">Xóa</td>
    <td width="5%">Trả lời</td>
  </tr>
  <?php
  		include_once('libs/htdu_core.php');
		$exe_mysql = new execute_mysql_query();
		$result = $exe_mysql->execute("select * from node where id_type = 5",0);
		while($row = mysql_fetch_array($result))
		{
			$chuoi = $row["title"];
			$str = explode(";",$chuoi);
			echo "<tr>";
				echo "<td>".$str[0]."</td>";
				echo "<td>".$str[1]."</td>";
				echo "<td>".$row['description']."</td>";
				echo "<td><a href='edit_user.php?id=".$row['id']."'>Xóa</a></td>";
				echo "<td><a href='edit_user.php?id=".$row['id']."'>Xem</a></td>";
			echo "</tr>";
		}
  ?>
</table>
</body>
</html>